package com.guigu.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 商品图片表
 * </p>
 *
 * @author Mr.Zhang
 * @since 2025-03-12
 */
@Data
@TableName("product_img")
public class ProductImg implements Serializable {

    private static final long serialVersionUID=1L;

    //@ApiModelProperty(value = "图片id，主键，自增")
      @TableId(value = "img_id", type = IdType.AUTO)
    private Integer imgId;

    //@ApiModelProperty(value = "商品id")
    private Integer productId;

    //@ApiModelProperty(value = "商品副展示图或者详情图路径")
    private String imgLink;

    //@ApiModelProperty(value = "图片类型，1（商品副展示图），2（商品详情图片）")
    private Integer type;


}
